/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 
 * 
 * @author zgy
 * @date 2021-6-17
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveDocumentFlowCancelRequestFlowRequest {

	/**
	 * 被取消的流程Id
	 */
	@NotNull 
	private Long documentFlowId;
	/**
	 * 申请原因
	 */
	@NotBlank @Length(max=200)
	private String reason;
	/**
	 * 处理者(QA)Id
	 */
	@NotNull
	private Long documentHandlerUserId;

}
